package com.diy.sigmund.junit5.parameterized;

import java.util.StringJoiner;

/**
 * @Description: 普通bean
 * @author: willzhao E-mail: zq2599@gmail.com
 * @date: 2020/10/5 0:02
 */
public class Person {
    private String firstName;
    private String lastName;
    private Types type;

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public Types getType() {
        return type;
    }

    public void setType(Types type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", Person.class.getSimpleName() + "[", "]")
                .add("firstName='" + firstName + "'")
                .add("lastName='" + lastName + "'")
                .add("type=" + type)
                .toString();
    }
}
